package com.beiding.natago2.utils;

/**
 * @author 丁常磊
 * @date 2021/9/18 10:53
 */

public class MyPrint {
    public static void print(Object... line) {
        if (line.length > 0) {
            out(line[0]);
            if (line.length > 1) {
                for (int i = 1; i < line.length; i++) {
                    out("\t");
                    out(line[i]);
                }
            }
        }
        out("\n");
    }

    private static void out(Object d) {
        System.out.print(d == null ? "" : d);
    }
}
